import { createStore, combineReducers } from 'redux'

import reducer from './reducer';  // 和 count 操作有关
import todoReducer from './todoReducer';  // 有todolist有关的状态 
let reducers = combineReducers({  // 合并 reducer配置 ；
  count: reducer,
  todo: todoReducer
})

let store = createStore(reducers);

export default store;